﻿<%@ Assembly Name="Microsoft.MCSUK.SPSiteDirectory2010, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8b65545c4d8ee868" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DeleteBrokenListingJobManager.aspx.cs" MasterPageFile="~/_admin/admin.master" Inherits="Microsoft.MCSUK.SPSiteDirectory2010.DeleteBrokenListingJobManager"%>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" src="~/_controltemplates/ButtonSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="SchedulePicker" src="~/_controltemplates/SchedulePicker.ascx" %>

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">

</asp:Content>

<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
  <table width="100%" class="propertysheet" cellpadding="0" cellspacing="0" border="0">
    <tr>
        <td class="ms-error">
            <asp:Literal ID="ErrorMessageLiteral" runat="server" EnableViewState="false" /> 
        </td>
    </tr>
  </table>
  
  <table border="0" cellspacing="0" cellpadding="0" width="100%">
    <tr>
      <td>

        <!-- web application status -->
        <wssuc:InputFormSection 
            runat="server"
            Title="<%$Resources:SPSiteDirectory2010GlobalResources,ADMIN_DeleteBrokenListingJobManager_StatusSection_Title%>"
            Description="<%$Resources:SPSiteDirectory2010GlobalResources,ADMIN_DeleteBrokenListingJobManager_StatusSection_Description%>" >
            <Template_InputFormControls>
                <tr>
                    <td>
                        <asp:Label ID="WebAppStatus" runat="server"></asp:Label>
                    </td>
                </tr>
            </Template_InputFormControls>
        </wssuc:InputFormSection> 

        <!-- Delete Broken Listing Job scheduke -->
        <wssuc:InputFormSection
            Title="<%$Resources:SPSiteDirectory2010GlobalResources,ADMIN_DeleteBrokenListingJobManager_TimerJobSection_Title%>"
            Description="<%$Resources:SPSiteDirectory2010GlobalResources,ADMIN_DeleteBrokenListingJobManager_TimerJobSection_Description%>"
            runat="server">
			<Template_InputFormControls>
                </tr>
                <tr>
                    <td>
                    	<wssuc:SchedulePicker
						id="JobSchedule"
						Minutes="true"
						Hourly="true"
						Daily="true"
						Weekly="true"
						Monthly="true"
						runat="server" 
                        />
                    </td>
                </tr>
			</Template_InputFormControls>
		</wssuc:InputFormSection> 

        <!-- Delete Broken Listing Job settings -->
        <wssuc:InputFormSection
            Title="<%$Resources:SPSiteDirectory2010GlobalResources,ADMIN_DeleteBrokenListingJobManager_OtherSettingsSection_Title%>"
            Description="<%$Resources:SPSiteDirectory2010GlobalResources,ADMIN_DeleteBrokenListingJobManager_OtherSettingsSection_Description%>"
            runat="server">
			<Template_InputFormControls>
                <tr>
                    <td>
				        <asp:Literal ID="litDeleteBrokenListingNumberScans" runat="server" Text="<%$Resources:SPSiteDirectory2010GlobalResources,ADMIN_DeleteBrokenListingJobManager_OtherSettingsSection_DeleteBrokenListingNumberScans%>" /> 
                        <asp:DropDownList id="DeleteBrokenListingNumberScans" runat="server" >
                            <asp:ListItem>1</asp:ListItem>
                            <asp:ListItem>2</asp:ListItem>
                            <asp:ListItem>3</asp:ListItem>
                            <asp:ListItem>4</asp:ListItem>
                            <asp:ListItem Selected="True">5</asp:ListItem>
                            <asp:ListItem>6</asp:ListItem>
                            <asp:ListItem>7</asp:ListItem>
                            <asp:ListItem>8</asp:ListItem>
                            <asp:ListItem>9</asp:ListItem>
                            <asp:ListItem>10</asp:ListItem>
                            <asp:ListItem>20</asp:ListItem>
                            <asp:ListItem>30</asp:ListItem>
                            <asp:ListItem>40</asp:ListItem>
                            <asp:ListItem>40</asp:ListItem>
                            <asp:ListItem>50</asp:ListItem>
                            <asp:ListItem>100</asp:ListItem>
                        </asp:DropDownList> 
        				scans  
	                </td>
                </tr>
			</Template_InputFormControls>
		</wssuc:InputFormSection>     
        
        <!-- Buttons -->
        <wssuc:ButtonSection runat="server">
          <template_buttons>
            <asp:Button id="OKButton" runat="server" class="ms-ButtonHeightWidth" Text="<%$Resources:SPSiteDirectory2010GlobalResources,ADMIN_ButtonsSection_OKButton%>" OnClick="OKButton_OnClick" />
            <asp:Button id="DisableButton" runat="server" class="ms-ButtonHeightWidth" Text="<%$Resources:SPSiteDirectory2010GlobalResources,ADMIN_ButtonsSection_DisableButton%>" OnClick="DisableButton_OnClick" />
          </template_buttons>
        </wssuc:ButtonSection>
      </td>
    </tr>
  </table>
</asp:Content>

<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
<asp:Literal ID="litPageTitle" runat="server" Text="<%$Resources:SPSiteDirectory2010GlobalResources,ADMIN_DeleteBrokenListingJobManager_Page_Title%>" />      

</asp:Content>

<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" >
<asp:Literal ID="litPageTitleInTitleArea" runat="server" Text="<%$Resources:SPSiteDirectory2010GlobalResources,ADMIN_DeleteBrokenListingJobManager_Page_Title%>" />  
</asp:Content>
